import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ViewUI from 'view-design'
import axios from 'axios'
import 'view-design/dist/styles/iview.css'

axios.defaults.headers['access_token'] = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NDg3MjEzNDUsInVzZXJfaWQiOjIwLCJ1c2VyX25hbWUiOiJ6aGFuZy50YW8iLCJqdGkiOiJmNTdmYjdjYy04MDQwLTQ5OGYtYjQ3Yy0yNDk3NGI4MzUyNzIiLCJjbGllbnRfaWQiOiJkbXAtZ2V0d2F5LWNsaWVudCIsInNjb3BlIjpbImFsbCJdfQ.2cb-lXRiU9-pl6q7T8_qzVEEO0Mcg5E7ViWyFBP_FtA'
axios.defaults.headers['refresh_token'] = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoyMCwidXNlcl9uYW1lIjoiemhhbmcudGFvIiwic2NvcGUiOlsiYWxsIl0sImF0aSI6ImY1N2ZiN2NjLTgwNDAtNDk4Zi1iNDdjLTI0OTc0YjgzNTI3MiIsImV4cCI6MTY0ODc1MTk0NSwianRpIjoiMWZmZmUxMTUtOTk0ZC00Mzc0LTliY2YtNDY0NWIwNjJjODJiIiwiY2xpZW50X2lkIjoiZG1wLWdldHdheS1jbGllbnQifQ.vvwsjNsf3Y0b-EWvFkSrUk_kD-SBuJUP-BcA1wdy5bg'

Vue.use(ViewUI)

Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
